using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Responses.Objects;
namespace NewFormatProject.Server.Instances.Extends.Entitys
{
	public static class LoginLogsExtend
{
		public static ResponseLoginLogsDto ToResponseDto(this LoginLogs entity)
{			return new ResponseLoginLogsDto
			{
				id = entity.LlId,
				code = entity.LlCode,
				message = entity.LlMessage,
				userId = entity.LlUserId,
				createTime = entity.LlCreateTime,
			};
		}
	}
}
